package at.guigu.pojo;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.Arrays;

@Component
@ConfigurationProperties(prefix = "a.b")
public class Enterprise {
    private int c;
    private int d;
    private String[] arrayOne;

    public int getC() {
        return c;
    }
    public void setC(int c) {
        this.c = c;
    }
    public int getD() {
        return d;
    }
    public void setD(int d) {
        this.d = d;
    }
    public String[] getArrayOne() {
        return arrayOne;
    }
    public void setArrayOne(String[] arrayOne) {
        this.arrayOne = arrayOne;
    }
    @Override
    public String toString() {
        return "Enterprise{" +
                "c=" + c +
                ", d=" + d +
                ", arrayOne=" + Arrays.toString(arrayOne) +
                '}';
    }
}
